﻿using Common.Interfaces;
using Domain.ValueObjects;
using Shared.Domain.Abstructs;

namespace Domain.Events
{
    /// <summary>
    /// 用户名更改事件
    /// </summary>
    /// <param name="UserId"></param>
    /// <param name="NewName"></param>
    /// <param name="OldName"></param>
    public record UserNameUpdated(Guid UserId, NickName OldName, NickName NewName) : BaseDomainEvent;
}
